
@Slf4j
@SpringBootTest
public class TestCommentService {

    @Autowired
    private CommentService commentService;

    @Test
    public void testSongList(){
        CommentRequest commentRequest = new CommentRequest();
        commentRequest.setUserId(63);
        commentRequest.setContent("发表评论");
        commentRequest.setSongListId(5);
        commentRequest.setNowType((byte) 1);
        log.info("测试发表评论：{}", commentService.addComment(commentRequest));
    }
}
